import '@/assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'

// 代码高亮
import 'highlight.js/styles/stackoverflow-light.css'
import hljs from "highlight.js/lib/core";
import hljsVuePlugin from "@highlightjs/vue-plugin";
import python from "highlight.js/lib/languages/python";
import javascript from "highlight.js/lib/languages/javascript";
import java from "highlight.js/lib/languages/java";
import go from "highlight.js/lib/languages/go";
import php from "highlight.js/lib/languages/php";
hljs.registerLanguage("python", python);
hljs.registerLanguage("javascript", javascript);
hljs.registerLanguage("java", java);
hljs.registerLanguage("go", go);
hljs.registerLanguage("php", php);

const app = createApp(App)

app.use(hljsVuePlugin).mount('#app')

